﻿
using SqlSugar;

namespace S.EarTag.Domain.Model
{
    /// <summary>
    /// 品相测定
    /// </summary>
    [SugarTable("AppearanceModel")]
    public class AppearanceModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int AppearanceId { get; set; }

        /// <summary>
        /// 测定日期
        /// </summary>
        [SugarColumn(ColumnName = "MeasureDate")]
        public DateTimeOffset MeasureDate { get; set; }

        /// <summary>
        /// 羊只耳号
        /// </summary>
        [SugarColumn(ColumnName = "EarTag")]
        public string? EarTag { get; set; }

        /// <summary>
        /// 牙齿咬合
        /// </summary>
        [SugarColumn(ColumnName = "Tooth")]
        public string? Tooth { get; set; }

        /// <summary>
        /// 毛发
        /// </summary>
        [SugarColumn(ColumnName = "Hair")]
        public string? Hair { get; set; }

        /// <summary>
        /// 色斑
        /// </summary>
        [SugarColumn(ColumnName = "Stain")]
        public string? Stain { get; set; }

        /// <summary>
        /// 蹄颜色
        /// </summary>
        [SugarColumn(ColumnName = "HoofColor")]
        public string? HoofColor { get; set; }

        /// <summary>
        /// 嘴颜色
        /// </summary>
        [SugarColumn(ColumnName = "MouthColor")]
        public string? MouthColor { get; set; }

        /// <summary>
        /// 角
        /// </summary>
        [SugarColumn(ColumnName = "Angle")]
        public string? Angle { get; set; }

        /// <summary>
        /// 脂肪分布
        /// </summary>
        [SugarColumn(ColumnName = "FatDistribution")]
        public string? FatDistribution { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "CreateBy")]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTimeOffset CreateDate { get; set; }


        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(ColumnName = "UpdateBy")]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "UpdateDate")]
        public string? UpdateDate { get; set; }
    }
}
